package statusPattern;

public class Client {

    public static void main(String[] args) {
        // 设置环境类
        Context context = new Context();
        // 设置当前状态
        context.setLiftState(new CloseingState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
